package pseudoAssemblerCompiler.twopassassembler.view.ui.autocomplete;

/**
 * User: Selivanov
 * Date: 08.05.12
 * Time: 1:34
 */
public class DefaultTextDisplayFormat<T> implements TextDisplayFormat<T> {
    @Override
    public String getDisplayName(T object) {
        return object == null ? "" : object.toString();
    }


    @Override
    public String getDescription(T object) {
        return null;
    }
}
